# -*- coding:utf-8 -*-
# @File       :   main.py
# @Author     :   LINING
# @Time       :   2024/7/25 14:50
# @Description :
import pytest, os
import shutil
from Handle.handle_log import log
from Handle.handle_yaml import Test_File

if __name__ == '__main__':
    if os.path.exists(Test_File):
        log.log_info(f'正在清理{Test_File}')
        shutil.rmtree(Test_File)
    pytest.main()
    # 开启allure服务
    # os.system('allure serve ./allure-results')
    # # 生成html报告
    # os.system("allure generate ./Report/ -o ./Report/html --clean")

